<%@ Page Language="C#" MasterPageFile="~/MasterPages/OneColumn.master" AutoEventWireup="false" Inherits="NopSolutions.NopCommerce.Web.AddressEditPage" CodeBehind="AddressEdit.aspx.cs" %>

<%@ Register TagPrefix="nopCommerce" TagName="AddressEdit" Src="~/Modules/Customer/AddressEdit.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cph1" runat="Server">
    <div class="block address-edit">
        <ul class="block-breadcrumb breadcrumb">
            <li><a href="<%= CommonHelper.GetStoreLocation()%>"><%= GetLocaleResourceString("Breadcrumb.Top") %></a></li>
            <li><a href="<%= SEOHelper.GetMyAccountUrl()%>#customer-addresses"><%= GetLocaleResourceString("Account.MyAccount") %></a></li>
        </ul>
        <h1 class="block-title"><asp:Literal runat="server" ID="lHeaderTitle" /></h1>
        <div class="block-content">
            <asp:ValidationSummary ID="vsAddressEdit" runat="server" ValidationGroup="AddressEditValidationGroup" CssClass="alert-box error" ForeColor="White" HeaderText="<% $NopResources:Account.Address.Errors %>" />
            <nopCommerce:AddressEdit ID="AddressEditControl" runat="server" ValidationGroup="AddressEditValidationGroup" />
            <div class="form-actions">
                <asp:Button ID="btnSave" runat="server" ValidationGroup="AddressEditValidationGroup" Text="Save" CssClass="primary button" />
                <asp:Button ID="btnDelete" runat="server" Text="<% $NopResources:Address.Delete %>" CausesValidation="false" CssClass="button" />
            </div>
        </div>
    </div>
</asp:Content>
